#version 120
uniform float time;

void main(void)
{
   vec4 V = gl_Vertex;
   V.y = sin(0.1 * V.x + 100.0 * time) * 2.0;
   gl_Position = gl_ModelViewProjectionMatrix * V;
}